package com.neutech.base;

import java.awt.Graphics;
import java.awt.Image;

import com.neutech.constant.Constant;

public class Life extends AbLife{

	public Life() {
		super();
	}

	public Life(Image image,int x) {
		super(x,Constant.WINDOW_TOOLBAR_HEIGHT+20,
				image.getWidth(null), image.getHeight(null), 0, 0, image.getWidth(null), image.getHeight(null), image);
	}
	
	@Override
	public void draw(Graphics g) {
		g.drawImage(getImage(), getX(),getY(),null);
	}
}
